<template>
  <div class="container with-nav-padding">
    <div class="infodetail_wrap">
      <div class="title">{{ info.title }}</div>
      <div class="content_text" v-html="info.center"></div>
    </div>
  </div>
</template>

<script>
import { getBusinessSchool } from "@/api/vip";
export default {
  data() {
    return {
      info: {}
    };
  },
  created() {
    if (this.$route.query.id) {
      getBusinessSchool({ id: this.$route.query.id }).then(res => {
        if (res.status === 200) {
          this.info = res.data.data;
        }
      });
    } else {
      this.$router.go(-1);
    }
  }
};
</script>

<style lang="less" scoped>
.container {
  position: relative;
  padding: 0.96rem 0.46rem 0;

  .clear {
    clear: both;
  }

  .infodetail_wrap {
    .title {
      width: 12.82rem;
      margin: 0 auto 1rem;
      font-size: 0.84rem;
      color: #444444;
      font-weight: bold;
      text-align: center;
    }

    .content_text {
      margin: 0 auto 1rem;
      color: #666666;
        font-size: 0.64rem;
    }
  }
}
</style>
